Platform Explorer / Nuxeo Platform 6.0

Extension point rendering-extension

Documentation

Expose the registration of freemarker templates (directives, methods or global shared variables) This way custom templates can be registered into the freemarker engine from outside

    <rendering-extension class="org.nuxeo.ecm.platform.my.MyExtension" name="myExtension"/>

Contribution Descriptors

  • Class: org.nuxeo.ecm.webengine.rendering.RenderingExtensionDescriptor

Existing Contributions

Contributions are presented in the same order as the registration order on this extension point. This order is displayed before the contribution name, in brackets.

  • nuxeo-theme-webengine-6.0.jar
    <extension point="rendering-extension" target="org.nuxeo.ecm.webengine.WebEngineComponent">
    
        <rendering-extension class="org.nuxeo.theme.webengine.fm.extensions.ThemeDirective" name="theme"/>
    
        <rendering-extension class="org.nuxeo.theme.webengine.fm.extensions.NXThemesHeadDirective" name="nxthemes_head"/>
    
        <rendering-extension class="org.nuxeo.theme.webengine.fm.extensions.NXThemesThemeStylesDirective" name="nxthemes_themestyles"/>
    
        <rendering-extension class="org.nuxeo.theme.webengine.fm.extensions.NXThemesResourcesDirective" name="nxthemes_resources"/>
    
        <rendering-extension class="org.nuxeo.theme.webengine.fm.extensions.NXThemesAccesskeysDirective" name="nxthemes_accesskeys"/>
    
        <rendering-extension class="org.nuxeo.theme.webengine.fm.extensions.NXThemesPanelDirective" name="nxthemes_panel"/>
    
        <rendering-extension class="org.nuxeo.theme.webengine.fm.extensions.NXThemesFragmentDirective" name="nxthemes_fragment"/>
    
        <rendering-extension class="org.nuxeo.theme.webengine.fm.extensions.NXThemesButtonDirective" name="nxthemes_button"/>
    
        <rendering-extension class="org.nuxeo.theme.webengine.fm.extensions.NXThemesModelDirective" name="nxthemes_model"/>
    
        <rendering-extension class="org.nuxeo.theme.webengine.fm.extensions.NXThemesViewDirective" name="nxthemes_view"/>
    
        <rendering-extension class="org.nuxeo.theme.webengine.fm.extensions.NXThemesControllerDirective" name="nxthemes_controller"/>
    
        <rendering-extension class="org.nuxeo.theme.webengine.fm.extensions.NXThemesTabsDirective" name="nxthemes_tabs"/>
    
        <rendering-extension class="org.nuxeo.theme.webengine.fm.extensions.NXThemesRequireDirective" name="nxthemes_require"/>
      </extension>
  • nuxeo-webengine-sites-6.0.jar
    <extension point="rendering-extension" target="org.nuxeo.ecm.webengine.sites.rendering.wiki">
        <rendering-extension name="nxsiteswiki" serializer="org.nuxeo.ecm.platform.rendering.wiki.WikiSerializer">
          <!-- 
            <filter pattern="[A-Z]+[a-z]+[A-Z][A-Za-z]*" replacement="&lt;a href='./$0'&gt;$0&lt;/a&gt;"/>
           
          <filter pattern="NXP-[0-9]+" replacement="&lt;a href='http://jira.nuxeo.org/browse/$0'&gt;$0&lt;/a&gt;"/>
          -->
          <filter class="org.nuxeo.webengine.sites.wiki.rendering.WikiSitesPageLinkResolver"/>
        </rendering-extension>
      </extension>
  • nuxeo-webengine-core-6.0.jar
    <extension point="rendering-extension" target="org.nuxeo.ecm.webengine.WebEngineComponent">
        <rendering-extension class="org.nuxeo.ecm.webengine.rendering.ScriptMethod" name="script"/>
        <rendering-extension class="org.nuxeo.ecm.webengine.rendering.RenderDirective" name="render"/>
        <rendering-extension class="org.nuxeo.ecm.platform.rendering.wiki.WikiTransformer" name="wiki"/>
        <rendering-extension class="org.nuxeo.ecm.webengine.rendering.APIHelper" name="API"/>
      </extension>